package com.ym.medical.service;


import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.entity.DoctorLabelEntity;
import com.ym.medical.domain.param.DoctorLabelParam;

import java.util.List;


public interface IDoctorLabelSV extends IBaseSV<DoctorLabelEntity> {

    /**
     * 新增
     *
     * @param doctorLabel
     * @return
     */
    long save(DoctorLabelEntity doctorLabel);

    /**
     * 根据ID查找
     *
     * @param id
     * @return
     */
    DoctorLabelEntity findById(long id);

    /**
     * 根据model查找
     *
     * @param doctorLabelModel
     * @return
     */
    DoctorLabelEntity findByModel(DoctorLabelParam doctorLabelModel);

    /**
     * 根据model列表查找
     *
     * @param doctorLabelModel
     * @return
     */
    List<DoctorLabelEntity> list(DoctorLabelParam doctorLabelModel);

    /**
     * 标签id
     * @param doctId
     * @param s
     * @return
     */
    Long[] selectLabIds(Long doctId, String s);

    /**
     * 批量新增
     * @param doctorLabels
     */
    void insertLabels(List<DoctorLabelEntity> doctorLabels);

    /**
     * 批量插入
     * @param goods
     * @return
     */
	void batchInsert(List<DoctorLabelEntity> goods);
}
